//
//  FormController.m
//  iBasic
//
//  Created by Andrew Barry on 4/02/09.
//  Copyright 2009 Barry Computer Services. All rights reserved.
//

#import "FormController.h"
//#import "AppModule.h"

@implementation FormController
-(void) awakeFromNib {
	[self bindText:formAutosaveControl toProperty:@"frameAutosave"];
	[self bindText:titleControl toProperty:@"title"];
	[self bindInt:widthControl toProperty:@"width"];
	[self bindInt:heightControl toProperty:@"height"];
	[self bindCheckbox:closeControl toProperty:@"canClose"];
	[self bindCheckbox:resizeControl toProperty:@"canResize"];
	[self bindCheckbox:startupControl toProperty:@"startup"];

	[self bindCheckbox:hasBackgroundColorControl toProperty:@"hasBackgroundColor"];
	[self bindColorWell:backgroundColorControl toProperty:@"backgroundColor"];

	[self bindPopup:kindControl toProperty:@"kind"];

}

@end

